package org.a1.ectltool.entity;

public class Sales
{
	private double euroSales;
	
	private SuperMarket superMarket;
	private Time time;
	private Product product;
	
	public Sales(double euroSales, SuperMarket superMarket, Time time, Product product)
	{
		this.euroSales = euroSales;
		this.superMarket = superMarket;
		this.time = time;
		this.product = product;
	}
	
	public double getEuroSales()
	{
		return euroSales;
	}
	
	public SuperMarket getSuperMarket()
	{
		return superMarket;
	}
	
	public Time getTime()
	{
		return time;
	}
	
	public Product getProduct()
	{
		return product;
	}
	
	public String toString()
	{
		String ret = "";
		
		ret += "Sales {\r\n";
		
		ret += "Sales: " + euroSales + "\r\n";
		ret += "SuperMarket: " + superMarket + "\r\n";
		ret += "Time: " + time + "\r\n";
		ret += "Product: " + product + "\r\n";
		
		ret += "}\\Sales";
		
		return ret;
	}
}
